package com.rightsidetech.user.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * us_user_login_history
 * @author 
 */
public class UsUserLoginHistory implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 账户id
     */
    private Long loginInfoId;

    /**
     * 登录来源：0未知来源 1.android 2.iOS 3.微信小程序 4.支付宝小程序 5.h5 6.web
     */
    private Byte source;

    /**
     * 登录设备号
     */
    private String deviceId;

    /**
     * 设备类型:0未知设备 1-安卓 2-ios 3-微信小程序
     */
    private Byte deviceTag;

    /**
     * 登入时间
     */
    private Date inTime;

    /**
     * 登出时间
     */
    private Date outTime;

    /**
     * 有效时间
     */
    private Date validTime;

    /**
     * 登录客户端ip
     */
    private String loginIp;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getLoginInfoId() {
        return loginInfoId;
    }

    public void setLoginInfoId(Long loginInfoId) {
        this.loginInfoId = loginInfoId;
    }

    public Byte getSource() {
        return source;
    }

    public void setSource(Byte source) {
        this.source = source;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public Byte getDeviceTag() {
        return deviceTag;
    }

    public void setDeviceTag(Byte deviceTag) {
        this.deviceTag = deviceTag;
    }

    public Date getInTime() {
        return inTime;
    }

    public void setInTime(Date inTime) {
        this.inTime = inTime;
    }

    public Date getOutTime() {
        return outTime;
    }

    public void setOutTime(Date outTime) {
        this.outTime = outTime;
    }

    public Date getValidTime() {
        return validTime;
    }

    public void setValidTime(Date validTime) {
        this.validTime = validTime;
    }

    public String getLoginIp() {
        return loginIp;
    }

    public void setLoginIp(String loginIp) {
        this.loginIp = loginIp;
    }
}